using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class tete : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        float x=0;
        for(int n=4;n<100000;n++)
        {
            x += n*(n-1) * Mathf.Pow(0.3f, 2) * Mathf.Pow(0.7f, n - 2);
            x += n*(n-1)* Mathf.Pow(0.3f, n - 2) * Mathf.Pow(0.7f, 2);
        }
        Debug.Log(x);
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
